<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>NGUI: Next-Gen UI kit: UIPopupList Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">NGUI: Next-Gen UI kit
   &#160;<span id="projectnumber">3.7.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_u_i_popup_list.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_u_i_popup_list-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">UIPopupList Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Popup list can be used to display pop-up menus and drop-down lists.  
 <a href="class_u_i_popup_list.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for UIPopupList:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_u_i_popup_list.png" usemap="#UIPopupList_map" alt=""/>
  <map id="UIPopupList_map" name="UIPopupList_map">
<area href="class_u_i_widget_container.html" title="Widget container is a generic type class that acts like a non-resizeable widget when selecting things..." alt="UIWidgetContainer" shape="rect" coords="0,56,116,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a6572641c8664affc68da68699554268a"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_popup_list.html#a6572641c8664affc68da68699554268a">Position</a> { <a class="el" href="class_u_i_popup_list.html#a6572641c8664affc68da68699554268aa06b9281e396db002010bde1de57262eb">Position.Auto</a>, 
<a class="el" href="class_u_i_popup_list.html#a6572641c8664affc68da68699554268aa5b469fd01889ec12f1e84c6e66829fc1">Position.Above</a>, 
<a class="el" href="class_u_i_popup_list.html#a6572641c8664affc68da68699554268aae59dd8d25c0b6bb6697eac0617ccd412">Position.Below</a>
 }</td></tr>
<tr class="separator:a6572641c8664affc68da68699554268a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a5d6b4e619e03b2bc566c796d5c077475"><td class="memItemLeft" align="right" valign="top">delegate void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_popup_list.html#a5d6b4e619e03b2bc566c796d5c077475">LegacyEvent</a> (string val)</td></tr>
<tr class="separator:a5d6b4e619e03b2bc566c796d5c077475"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ec176ab2f25b27613068947f12144d0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_popup_list.html#a1ec176ab2f25b27613068947f12144d0">Close</a> ()</td></tr>
<tr class="memdesc:a1ec176ab2f25b27613068947f12144d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Manually close the popup list.  <a href="#a1ec176ab2f25b27613068947f12144d0">More...</a><br /></td></tr>
<tr class="separator:a1ec176ab2f25b27613068947f12144d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ad219b171b12939007e9c972de0d3ed3e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_atlas.html">UIAtlas</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_popup_list.html#ad219b171b12939007e9c972de0d3ed3e">atlas</a></td></tr>
<tr class="memdesc:ad219b171b12939007e9c972de0d3ed3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Atlas used by the sprites.  <a href="#ad219b171b12939007e9c972de0d3ed3e">More...</a><br /></td></tr>
<tr class="separator:ad219b171b12939007e9c972de0d3ed3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa32f904f8c08838e66aa8622737ec70b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_font.html">UIFont</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_popup_list.html#aa32f904f8c08838e66aa8622737ec70b">bitmapFont</a></td></tr>
<tr class="memdesc:aa32f904f8c08838e66aa8622737ec70b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Font used by the labels.  <a href="#aa32f904f8c08838e66aa8622737ec70b">More...</a><br /></td></tr>
<tr class="separator:aa32f904f8c08838e66aa8622737ec70b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af54200915005e060abea2e18d8d9c628"><td class="memItemLeft" align="right" valign="top">Font&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_popup_list.html#af54200915005e060abea2e18d8d9c628">trueTypeFont</a></td></tr>
<tr class="memdesc:af54200915005e060abea2e18d8d9c628"><td class="mdescLeft">&#160;</td><td class="mdescRight">True type font used by the labels. Alternative to specifying a bitmap font ('font').  <a href="#af54200915005e060abea2e18d8d9c628">More...</a><br /></td></tr>
<tr class="separator:af54200915005e060abea2e18d8d9c628"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abed9f0ecfd44c0e1b4beff933dfc657c"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_popup_list.html#abed9f0ecfd44c0e1b4beff933dfc657c">fontSize</a> = 16</td></tr>
<tr class="memdesc:abed9f0ecfd44c0e1b4beff933dfc657c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Size of the font to use for the popup list's labels.  <a href="#abed9f0ecfd44c0e1b4beff933dfc657c">More...</a><br /></td></tr>
<tr class="separator:abed9f0ecfd44c0e1b4beff933dfc657c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5cb5ac58d0df75628cd7a2ca7bf24211"><td class="memItemLeft" align="right" valign="top">FontStyle&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_popup_list.html#a5cb5ac58d0df75628cd7a2ca7bf24211">fontStyle</a> = FontStyle.Normal</td></tr>
<tr class="memdesc:a5cb5ac58d0df75628cd7a2ca7bf24211"><td class="mdescLeft">&#160;</td><td class="mdescRight">Font style used by the dynamic font.  <a href="#a5cb5ac58d0df75628cd7a2ca7bf24211">More...</a><br /></td></tr>
<tr class="separator:a5cb5ac58d0df75628cd7a2ca7bf24211"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72b8efe8a7ebaa7aa4e986319aa81043"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_popup_list.html#a72b8efe8a7ebaa7aa4e986319aa81043">backgroundSprite</a></td></tr>
<tr class="memdesc:a72b8efe8a7ebaa7aa4e986319aa81043"><td class="mdescLeft">&#160;</td><td class="mdescRight">Name of the sprite used to create the popup's background.  <a href="#a72b8efe8a7ebaa7aa4e986319aa81043">More...</a><br /></td></tr>
<tr class="separator:a72b8efe8a7ebaa7aa4e986319aa81043"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17df67dffa5997365d1da4635878e0ae"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_popup_list.html#a17df67dffa5997365d1da4635878e0ae">highlightSprite</a></td></tr>
<tr class="memdesc:a17df67dffa5997365d1da4635878e0ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Name of the sprite used to highlight items.  <a href="#a17df67dffa5997365d1da4635878e0ae">More...</a><br /></td></tr>
<tr class="separator:a17df67dffa5997365d1da4635878e0ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb4c502c6955a09c9f97f95272a1b578"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_popup_list.html#a6572641c8664affc68da68699554268a">Position</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_popup_list.html#acb4c502c6955a09c9f97f95272a1b578">position</a> = Position.Auto</td></tr>
<tr class="memdesc:acb4c502c6955a09c9f97f95272a1b578"><td class="mdescLeft">&#160;</td><td class="mdescRight">Popup list's display style.  <a href="#acb4c502c6955a09c9f97f95272a1b578">More...</a><br /></td></tr>
<tr class="separator:acb4c502c6955a09c9f97f95272a1b578"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7452044e0907915019785b4a75d97401"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_n_g_u_i_text.html#a151d38971b4de48ed8246f39ffb1c7b9">NGUIText.Alignment</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_popup_list.html#a7452044e0907915019785b4a75d97401">alignment</a> = NGUIText.Alignment.Left</td></tr>
<tr class="memdesc:a7452044e0907915019785b4a75d97401"><td class="mdescLeft">&#160;</td><td class="mdescRight">Label alignment to use.  <a href="#a7452044e0907915019785b4a75d97401">More...</a><br /></td></tr>
<tr class="separator:a7452044e0907915019785b4a75d97401"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92913c14d5b192e19e8ec651d5aad2e6"><td class="memItemLeft" align="right" valign="top">List&lt; string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_popup_list.html#a92913c14d5b192e19e8ec651d5aad2e6">items</a> = new List&lt;string&gt;()</td></tr>
<tr class="memdesc:a92913c14d5b192e19e8ec651d5aad2e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">New line-delimited list of items.  <a href="#a92913c14d5b192e19e8ec651d5aad2e6">More...</a><br /></td></tr>
<tr class="separator:a92913c14d5b192e19e8ec651d5aad2e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa91fb915060da2b0da3ff71fd70d7cce"><td class="memItemLeft" align="right" valign="top">Vector2&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_popup_list.html#aa91fb915060da2b0da3ff71fd70d7cce">padding</a> = new Vector3(4f, 4f)</td></tr>
<tr class="memdesc:aa91fb915060da2b0da3ff71fd70d7cce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Amount of padding added to labels.  <a href="#aa91fb915060da2b0da3ff71fd70d7cce">More...</a><br /></td></tr>
<tr class="separator:aa91fb915060da2b0da3ff71fd70d7cce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6572c9bd436573fdaf8066b1c5ae43d5"><td class="memItemLeft" align="right" valign="top">Color&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_popup_list.html#a6572c9bd436573fdaf8066b1c5ae43d5">textColor</a> = Color.white</td></tr>
<tr class="memdesc:a6572c9bd436573fdaf8066b1c5ae43d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Color tint applied to labels inside the list.  <a href="#a6572c9bd436573fdaf8066b1c5ae43d5">More...</a><br /></td></tr>
<tr class="separator:a6572c9bd436573fdaf8066b1c5ae43d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab46f0f9c66e45df18f59882858c29769"><td class="memItemLeft" align="right" valign="top">Color&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_popup_list.html#ab46f0f9c66e45df18f59882858c29769">backgroundColor</a> = Color.white</td></tr>
<tr class="memdesc:ab46f0f9c66e45df18f59882858c29769"><td class="mdescLeft">&#160;</td><td class="mdescRight">Color tint applied to the background.  <a href="#ab46f0f9c66e45df18f59882858c29769">More...</a><br /></td></tr>
<tr class="separator:ab46f0f9c66e45df18f59882858c29769"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae607c22ae153794f43ae1f577a40567e"><td class="memItemLeft" align="right" valign="top">Color&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_popup_list.html#ae607c22ae153794f43ae1f577a40567e">highlightColor</a> = new Color(225f / 255f, 200f / 255f, 150f / 255f, 1f)</td></tr>
<tr class="memdesc:ae607c22ae153794f43ae1f577a40567e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Color tint applied to the highlighter.  <a href="#ae607c22ae153794f43ae1f577a40567e">More...</a><br /></td></tr>
<tr class="separator:ae607c22ae153794f43ae1f577a40567e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add6d18f6d3aeb77aaf506d6c206674a8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_popup_list.html#add6d18f6d3aeb77aaf506d6c206674a8">isAnimated</a> = true</td></tr>
<tr class="memdesc:add6d18f6d3aeb77aaf506d6c206674a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the popup list is animated or not. Disable for better performance.  <a href="#add6d18f6d3aeb77aaf506d6c206674a8">More...</a><br /></td></tr>
<tr class="separator:add6d18f6d3aeb77aaf506d6c206674a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a716f2a347d6c309ad0f3c17ec4ed767e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_popup_list.html#a716f2a347d6c309ad0f3c17ec4ed767e">isLocalized</a> = false</td></tr>
<tr class="memdesc:a716f2a347d6c309ad0f3c17ec4ed767e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the popup list's values will be localized.  <a href="#a716f2a347d6c309ad0f3c17ec4ed767e">More...</a><br /></td></tr>
<tr class="separator:a716f2a347d6c309ad0f3c17ec4ed767e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6b42329c2eb0823b3a8dbfe9e0c9c14"><td class="memItemLeft" align="right" valign="top">List&lt; <a class="el" href="class_event_delegate.html">EventDelegate</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_popup_list.html#ac6b42329c2eb0823b3a8dbfe9e0c9c14">onChange</a> = new List&lt;<a class="el" href="class_event_delegate.html">EventDelegate</a>&gt;()</td></tr>
<tr class="memdesc:ac6b42329c2eb0823b3a8dbfe9e0c9c14"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callbacks triggered when the popup list gets a new item selection.  <a href="#ac6b42329c2eb0823b3a8dbfe9e0c9c14">More...</a><br /></td></tr>
<tr class="separator:ac6b42329c2eb0823b3a8dbfe9e0c9c14"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:aafaf84bc4f8df8adcb28f4f8624e9e5d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_u_i_popup_list.html">UIPopupList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_popup_list.html#aafaf84bc4f8df8adcb28f4f8624e9e5d">current</a></td></tr>
<tr class="memdesc:aafaf84bc4f8df8adcb28f4f8624e9e5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current popup list. Only available during the OnSelectionChange event callback.  <a href="#aafaf84bc4f8df8adcb28f4f8624e9e5d">More...</a><br /></td></tr>
<tr class="separator:aafaf84bc4f8df8adcb28f4f8624e9e5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a5e35ab592b5cf2a3f1333363c1b149c1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_popup_list.html#a5e35ab592b5cf2a3f1333363c1b149c1">TriggerCallbacks</a> ()</td></tr>
<tr class="memdesc:a5e35ab592b5cf2a3f1333363c1b149c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Trigger all event notification callbacks.  <a href="#a5e35ab592b5cf2a3f1333363c1b149c1">More...</a><br /></td></tr>
<tr class="separator:a5e35ab592b5cf2a3f1333363c1b149c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:ab4ec32a4adbc11b982673959fd578fd0"><td class="memItemLeft" align="right" valign="top">Object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_popup_list.html#ab4ec32a4adbc11b982673959fd578fd0">ambigiousFont</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ab4ec32a4adbc11b982673959fd578fd0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Font used by the popup list. Conveniently wraps both dynamic and bitmap fonts into one property.  <a href="#ab4ec32a4adbc11b982673959fd578fd0">More...</a><br /></td></tr>
<tr class="separator:ab4ec32a4adbc11b982673959fd578fd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50f3413e3144d18aa5febb3fb2348868"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_popup_list.html#a5d6b4e619e03b2bc566c796d5c077475">LegacyEvent</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_popup_list.html#a50f3413e3144d18aa5febb3fb2348868">onSelectionChange</a><code> [get, set]</code></td></tr>
<tr class="separator:a50f3413e3144d18aa5febb3fb2348868"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a359eb61725ab1d61d90a751492d41df2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_popup_list.html#a359eb61725ab1d61d90a751492d41df2">isOpen</a><code> [get]</code></td></tr>
<tr class="memdesc:a359eb61725ab1d61d90a751492d41df2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the popup list is currently open.  <a href="#a359eb61725ab1d61d90a751492d41df2">More...</a><br /></td></tr>
<tr class="separator:a359eb61725ab1d61d90a751492d41df2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a459e5f7d36332184d07806ad14282703"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_popup_list.html#a459e5f7d36332184d07806ad14282703">value</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a459e5f7d36332184d07806ad14282703"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current selection.  <a href="#a459e5f7d36332184d07806ad14282703">More...</a><br /></td></tr>
<tr class="separator:a459e5f7d36332184d07806ad14282703"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69e68ab284ce3f3c581a9e11256e99c6"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_popup_list.html#a69e68ab284ce3f3c581a9e11256e99c6">selection</a><code> [get, set]</code></td></tr>
<tr class="separator:a69e68ab284ce3f3c581a9e11256e99c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Popup list can be used to display pop-up menus and drop-down lists. </p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="a6572641c8664affc68da68699554268a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_u_i_popup_list.html#a6572641c8664affc68da68699554268a">UIPopupList.Position</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a6572641c8664affc68da68699554268aa06b9281e396db002010bde1de57262eb"></a>Auto&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a6572641c8664affc68da68699554268aa5b469fd01889ec12f1e84c6e66829fc1"></a>Above&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a6572641c8664affc68da68699554268aae59dd8d25c0b6bb6697eac0617ccd412"></a>Below&#160;</td><td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a1ec176ab2f25b27613068947f12144d0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UIPopupList.Close </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Manually close the popup list. </p>

</div>
</div>
<a class="anchor" id="a5d6b4e619e03b2bc566c796d5c077475"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">delegate void UIPopupList.LegacyEvent </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a5e35ab592b5cf2a3f1333363c1b149c1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void UIPopupList.TriggerCallbacks </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Trigger all event notification callbacks. </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a7452044e0907915019785b4a75d97401"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_n_g_u_i_text.html#a151d38971b4de48ed8246f39ffb1c7b9">NGUIText.Alignment</a> UIPopupList.alignment = NGUIText.Alignment.Left</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Label alignment to use. </p>

</div>
</div>
<a class="anchor" id="ad219b171b12939007e9c972de0d3ed3e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_atlas.html">UIAtlas</a> UIPopupList.atlas</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Atlas used by the sprites. </p>

</div>
</div>
<a class="anchor" id="ab46f0f9c66e45df18f59882858c29769"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Color UIPopupList.backgroundColor = Color.white</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Color tint applied to the background. </p>

</div>
</div>
<a class="anchor" id="a72b8efe8a7ebaa7aa4e986319aa81043"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string UIPopupList.backgroundSprite</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Name of the sprite used to create the popup's background. </p>

</div>
</div>
<a class="anchor" id="aa32f904f8c08838e66aa8622737ec70b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_font.html">UIFont</a> UIPopupList.bitmapFont</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Font used by the labels. </p>

</div>
</div>
<a class="anchor" id="aafaf84bc4f8df8adcb28f4f8624e9e5d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_popup_list.html">UIPopupList</a> UIPopupList.current</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Current popup list. Only available during the OnSelectionChange event callback. </p>

</div>
</div>
<a class="anchor" id="abed9f0ecfd44c0e1b4beff933dfc657c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int UIPopupList.fontSize = 16</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Size of the font to use for the popup list's labels. </p>

</div>
</div>
<a class="anchor" id="a5cb5ac58d0df75628cd7a2ca7bf24211"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">FontStyle UIPopupList.fontStyle = FontStyle.Normal</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Font style used by the dynamic font. </p>

</div>
</div>
<a class="anchor" id="ae607c22ae153794f43ae1f577a40567e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Color UIPopupList.highlightColor = new Color(225f / 255f, 200f / 255f, 150f / 255f, 1f)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Color tint applied to the highlighter. </p>

</div>
</div>
<a class="anchor" id="a17df67dffa5997365d1da4635878e0ae"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string UIPopupList.highlightSprite</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Name of the sprite used to highlight items. </p>

</div>
</div>
<a class="anchor" id="add6d18f6d3aeb77aaf506d6c206674a8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UIPopupList.isAnimated = true</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether the popup list is animated or not. Disable for better performance. </p>

</div>
</div>
<a class="anchor" id="a716f2a347d6c309ad0f3c17ec4ed767e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UIPopupList.isLocalized = false</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether the popup list's values will be localized. </p>

</div>
</div>
<a class="anchor" id="a92913c14d5b192e19e8ec651d5aad2e6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">List&lt;string&gt; UIPopupList.items = new List&lt;string&gt;()</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>New line-delimited list of items. </p>

</div>
</div>
<a class="anchor" id="ac6b42329c2eb0823b3a8dbfe9e0c9c14"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">List&lt;<a class="el" href="class_event_delegate.html">EventDelegate</a>&gt; UIPopupList.onChange = new List&lt;<a class="el" href="class_event_delegate.html">EventDelegate</a>&gt;()</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Callbacks triggered when the popup list gets a new item selection. </p>

</div>
</div>
<a class="anchor" id="aa91fb915060da2b0da3ff71fd70d7cce"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Vector2 UIPopupList.padding = new Vector3(4f, 4f)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Amount of padding added to labels. </p>

</div>
</div>
<a class="anchor" id="acb4c502c6955a09c9f97f95272a1b578"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_popup_list.html#a6572641c8664affc68da68699554268a">Position</a> UIPopupList.position = Position.Auto</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Popup list's display style. </p>

</div>
</div>
<a class="anchor" id="a6572c9bd436573fdaf8066b1c5ae43d5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Color UIPopupList.textColor = Color.white</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Color tint applied to labels inside the list. </p>

</div>
</div>
<a class="anchor" id="af54200915005e060abea2e18d8d9c628"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Font UIPopupList.trueTypeFont</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>True type font used by the labels. Alternative to specifying a bitmap font ('font'). </p>

</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a class="anchor" id="ab4ec32a4adbc11b982673959fd578fd0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Object UIPopupList.ambigiousFont</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Font used by the popup list. Conveniently wraps both dynamic and bitmap fonts into one property. </p>

</div>
</div>
<a class="anchor" id="a359eb61725ab1d61d90a751492d41df2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool UIPopupList.isOpen</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Whether the popup list is currently open. </p>

</div>
</div>
<a class="anchor" id="a50f3413e3144d18aa5febb3fb2348868"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_popup_list.html#a5d6b4e619e03b2bc566c796d5c077475">LegacyEvent</a> UIPopupList.onSelectionChange</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a69e68ab284ce3f3c581a9e11256e99c6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string UIPopupList.selection</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a459e5f7d36332184d07806ad14282703"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string UIPopupList.value</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Current selection. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>D:/Projects/NGUI/Assets/NGUI/Scripts/Interaction/<a class="el" href="_u_i_popup_list_8cs.html">UIPopupList.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_u_i_popup_list.html">UIPopupList</a></li>
    <li class="footer">Generated on Sat Sep 13 2014 05:29:19 for NGUI: Next-Gen UI kit by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.8 </li>
  </ul>
</div>
</body>
</html>
